home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 May / EnigmA AMIGA RUN 07 (1996)(G.R. Edizioni)(IT)[!][issue 1996-05][EARSAN CD VI].iso / rubriche / host-cont / amountns.lha / AMountains / paint.h < prev    next >
C/C++ Source or Header  |  1996-01-14  |  865b  |  37 lines

  1. #ifndef PAINT
  2. #define PAINT
  3.  
  4. #include "crinkle.h"
  5.  
  6. /* -------------------------------------------------------------------- */
  7. /* colour code definitions                                                */
  8. /* -------------------------------------------------------------------- */
  9.  
  10. typedef int Col;
  11. typedef unsigned short Gun;
  12.  
  13. #define BLACK        0
  14. #define WHITE        1
  15. #define SEA_LIT        2
  16. #define SEA_UNLIT    3
  17. #define SKY            4
  18. #define BAND_BASE    5
  19.  
  20. #ifndef BAND_SIZE
  21. #    define BAND_SIZE    80
  22. #endif
  23.  
  24. #define N_BANDS        3
  25. #define DEF_COL        (BAND_BASE + (N_BANDS * BAND_SIZE))
  26. #define MIN_COL        (BAND_BASE + (N_BANDS * 2))
  27. #define COL_RANGE    65535
  28.  
  29. void set_clut( int, Gun *, Gun *, Gun * );
  30. Height *extract( Strip *s );
  31. void init_artist_variables( void );
  32. Col *makemap( Height *a, Height *b, Height *shadow );
  33. Col *camera( Height *a, Height *b, Height *shadow );
  34. Col *mirror( Height *a, Height *b, Height *shadow );
  35.  
  36. #endif
  37.